package com.ishopping.common.core.vo;

import java.util.List;

/**
 * easyUI树形控件节点格式
 */
public class TreeNode implements java.io.Serializable{
	private Long id;

	private Long parentId; //父节点

	private String text; //节点名称

	private String state; //open, close

	private Boolean checked; //是否选中

	private List<TreeNode> children; //子节点列表

	public TreeNode(){}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public List<TreeNode> getChildren() {
		return children;
	}

	public void setChildren(List<TreeNode> children) {
		this.children = children;
	}
}
